/**
 * 删除所有注释
 * @param {string} source 
 */
module.exports = function removeCommets(source) {
  return  source.replace(/\/\*.+?\*\//gs, '').replace(/^\s*\/\/.*$/gm, '');
}